//地址api
import request from '@/utils/request'
const api_group = 'addresses'
export default {
    pageList(page, size) {
        return request({
            url: `/${api_group}/pagination/${page}/${size}`,
            method: 'get'
        })
    },
    findAllAddressesByUserId(userId) {
        return request({
            url: `/${api_group}/${userId}`,
            method: 'get'
        })
    }
}